const db=uniCloud.database()//连接数据库
exports.main = async (event, context) => {
	let {aname}=event
	return await db.collection('article').where({
		author:aname
	}).get()//连接表，获取数据
};
